phone1 = input("请输入手机号：")
phone = phone1.strip()
password1 = input("请输入密码：")
password = password1.strip()
code = input("请输入验证码：").strip()
if phone == " ":
    print("手机号不能为空")
elif password == " ":
    print("密码不能为空")
elif code == " ":
    print("验证码不能为空")
if phone.isdigit() and len(phone) == 11:
    print("手机号格式正确")
else:
    print("手机号格式不正确")
if code.lower() == "8888":
    print("验证码正确")
else:
    print("验证码错误")
if phone == "13488888888":
    print("手机号正确")
    if password == "123456":
        print("密码正确")
        if code.lower() == "8888":
            print("登录成功")
        else:
            print("验证码错误")
    else:
        print("密码与账号不匹配")
else:
    print("手机号不存在")